package com.mhtube.service;

import com.alibaba.fastjson.JSONObject;

import javax.servlet.http.HttpServletResponse;
import javax.servlet.http.HttpSession;

public interface UserService {
    String registerUser(String username, String password, String email, String nikeName);
    boolean loginUser(HttpSession session, HttpServletResponse response, String username, String password);
    JSONObject getBasicUserInfo(HttpSession session);
    boolean modifyDescription(HttpSession session, String description);
    boolean modifyNikeName(HttpSession session, String nikeName);
    boolean subscribeUser(HttpSession session, String subscribeAimId);
}
//wyx写的
